/*
 * Copyright @ 苏州瑞云信息技术有限公司 All rights reserved.
 */
package work.lock.synchronize;

/**
 * @author Sakura Shen
 * @description
 * @date 2021/9/22
 */
public class SynchronizedTest {


    public static void main(String[] args) {
        SyncThread syncThread = new SyncThread();
        Thread thread1 = new Thread(syncThread, "SyncThread1");
        Thread thread2 = new Thread(syncThread, "SyncThread2");
        thread1.start();
        thread2.start();

    }


}
